package com.dou.you.che.web.comm.http.response.code;

/**
 *
 * @Author 黄国刚【1058118328@qq.com】
 */
public enum RESTApiCode {

    /**
     * 成功
     */
    SELECT_DELETE_SUCCESS(0,"DELETE_SUCCESS","成功"),
    /**
     * 成功
     */
    SELECT_SUCCESS_SAVE(0,"SELECT_SUCCESS_SAVE","成功"),

    /**
     * 删除失败
     */
    SELECT_DELETE_FAIL(0,"DELETE_FAIL","删除成功"),

    /**
     * 保存失败
     */
    SELECT_FAIL_SAVE(0,"SELECT_FAIL_SAVE","保存失败");

    private int value;
    private String message;
    private String info;

    RESTApiCode(int value, String info, String message) {
        this.value = value;
        this.message = message;
        this.info = info;
    }

    public int getValue() {
        return this.value;
    }

    public String getMessage() {
        return this.message;
    }

    public String getInfo() {
        return this.info;
    }
}
